package rss.models 
{
	import rss.IRssEntryModel;
	import flash.events.EventDispatcher;
	
	/**
	 * TODO: document
	 * 
	 * @author Luke Van In
	 */
	public class RssEntryModel extends EventDispatcher implements IRssEntryModel 
	{
		
		private var _title:String;
		
		private var _link:String;
		
		private var _description:String;
		
		private var _publishedDate:Date;
		
		private var _guid:String;
		
		private var _category:String;
		
		
		
		/**
		 * 
		 * @param	title
		 * @param	link
		 * @param	description
		 * @param	publishedDate
		 * @param	guid
		 * @param	category
		 */
		public function RssEntryModel(title:String, link:String, description:String, publishedDate:Date, guid:String, category:String) 
		{
			this._title = title;
			
			this._link = link;
			
			this._description = description;
			
			this._publishedDate = publishedDate;
			
			this._guid = guid;
			
			this._category = category;
		}
		
		
		
		
		/* INTERFACE rss.IRssEntryModel */
		
		/**
		 * 
		 * @return
		 */
		public function get title():String 
		{
			return this._title;
		}
		
		
		/**
		 * 
		 * @return
		 */
		public function get link():String 
		{
			return this._link;
		}
		
		
		/**
		 * 
		 * @return
		 */
		public function get description():String 
		{
			return this._description;
		}
		
		
		/**
		 * 
		 * @return
		 */
		public function get publishedDate():Date 
		{
			return this._publishedDate;
		}
		
		
		/**
		 * 
		 * @return
		 */
		public function get guid():String 
		{
			return this._guid;
		}
		
		
		/**
		 * 
		 * @return
		 */
		public function get category():String 
		{
			return this._category;
		}
		
		
		
		
		/**
		 * 
		 */
		public function dispose():void
		{
			
		}
		
	}

}